package map.android.baidu.carpool.response;

import com.baidu.lbs.net.http.response.ComNetResponse;
import com.google.gson.Gson;

import java.io.Serializable;

/**
 * Created by zhangtongyu on 15/4/1.
 * 领取大礼包的response  以获取成功通知
 */
public class ReceiveDaLiBaoResponse extends ComNetResponse implements Serializable{

    private static final long serialVersionUID = -3185645327583095509L;

    public static ReceiveDaLiBaoResponse parse(String json) {
        return new Gson().fromJson(json, ReceiveDaLiBaoResponse.class);
    }

    @Override
    public boolean isBadResponse() {
        return false;
    }

    @Override
    public int getErrorNo() {
        return 0;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }
}
